<template>
  <div class="pc-wrapper">
    <!-- 海豚顶部组件 -->
    <ht-header />
    <div class="main-container">
      <!-- 左侧导航菜单栏 -->
      <htknow-aside v-model:title="title" />
      <!-- 内容区域 -->
      <div class="ht-contaoner">
        <router-view />
      </div>
    </div>
  </div>
</template>

<script>
import { ref } from 'vue'
import HtHeader from '../../components/HtHeader.vue'
import HtknowAside from '../../components/htknow-aside.vue'
export default {
  name: 'App',
  components: {
    HtHeader,
    HtknowAside,
  },
  setup(props) {
    const title = ref(2)

    return { title }
  },
}
</script>
<style lang="scss">
.pc-wrapper {
  width: 100%;
  min-height: 100vh;
}
.el-container {
  width: var(--mainWidth);
}
.ht-contaoner {
  padding: 20px 0 0;
  display: block;
  flex: 1;
  flex-basis: auto;
  overflow: auto;
  box-sizing: border-box;
}

.main-container {
  position: relative;
  min-height: 100vh;
  width: var(--mainWidth);
  margin: 0 auto;
  padding: 80px 0 40px;
}
</style>
